<app-message-bubble [message]="message" [isMine]="isMine">
  <ng-container *ngFor="let item of contentList">
    <span *ngIf="item.name === 'text'">{{ item.text }}</span>
    <img *ngIf="item.name === 'img'" [src]="item.src" width="20px" height="20px" />
  </ng-container>
</app-message-bubble>
